package ru.acme.lab08.task2;

public class Foo {

	private Integer number;

	@Override
	protected void finalize() throws Throwable {
		System.out.println("finalize is called on " + number + " iteration");
		super.finalize();
	}
	
	public Foo(Integer number) {
		this.number = number;
	}
}
